3.103 \(\int \sqrt {a+a \cos (c+d x)} \sec ^4(c+d x) \, dx\)
Optimal. Leaf size=138 \[ \frac {5 a \tan (c+d x)}{8 d \sqrt {a \cos (c+d x)+a}}+\frac {5 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a \cos (c+d x)+a}}\right )}{8 d}+\frac {a \tan (c+d x) \sec ^2(c+d x)}{3 d \sqrt {a \cos (c+d x)+a}}+\frac {5 a \tan (c+d x) \sec (c+d x)}{12 d \sqrt {a \cos (c+d x)+a}} \]
[Out]
5/8*arctanh(sin(d*x+c)*a^(1/2)/(a+a*cos(d*x+c))^(1/2))*a^(1/2)/d+5/8*a*tan(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)+5/1
2*a*sec(d*x+c)*tan(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)+1/3*a*sec(d*x+c)^2*tan(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 138, normalized size of antiderivative = 1.00,
number of steps used = 5, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used =
{2772, 2773, 206} \[ \frac {5 a \tan (c+d x)}{8 d \sqrt {a \cos (c+d x)+a}}+\frac {5 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a \cos (c+d x)+a}}\right )}{8 d}+\frac {a \tan (c+d x) \sec ^2(c+d x)}{3 d \sqrt {a \cos (c+d x)+a}}+\frac {5 a \tan (c+d x) \sec (c+d x)}{12 d \sqrt {a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
Int[Sqrt[a + a*Cos[c + d*x]]*Sec[c + d*x]^4,x]
[Out]
(5*Sqrt[a]*ArcTanh[(Sqrt[a]*Sin[c + d*x])/Sqrt[a + a*Cos[c + d*x]]])/(8*d) + (5*a*Tan[c + d*x])/(8*d*Sqrt[a +
a*Cos[c + d*x]]) + (5*a*Sec[c + d*x]*Tan[c + d*x])/(12*d*Sqrt[a + a*Cos[c + d*x]]) + (a*Sec[c + d*x]^2*Tan[c +
d*x])/(3*d*Sqrt[a + a*Cos[c + d*x]])
Rule 206
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
/; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])
Rule 2772
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[((b*c - a*d)*Cos[e + f*x]*(c + d*Sin[e + f*x])^(n + 1))/(f*(n + 1)*(c^2 - d^2)*Sqrt[a + b*Sin[e + f*x]]), x]
+ Dist[((2*n + 3)*(b*c - a*d))/(2*b*(n + 1)*(c^2 - d^2)), Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n
+ 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] &
& LtQ[n, -1] && NeQ[2*n + 3, 0] && IntegerQ[2*n]
Rule 2773
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Dist[(-2*
b)/f, Subst[Int[1/(b*c + a*d - d*x^2), x], x, (b*Cos[e + f*x])/Sqrt[a + b*Sin[e + f*x]]], x] /; FreeQ[{a, b, c
, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rubi steps
\begin {align*} \int \sqrt {a+a \cos (c+d x)} \sec ^4(c+d x) \, dx &=\frac {a \sec ^2(c+d x) \tan (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}+\frac {5}{6} \int \sqrt {a+a \cos (c+d x)} \sec ^3(c+d x) \, dx\\ &=\frac {5 a \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a \sec ^2(c+d x) \tan (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}+\frac {5}{8} \int \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \, dx\\ &=\frac {5 a \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {5 a \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a \sec ^2(c+d x) \tan (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}+\frac {5}{16} \int \sqrt {a+a \cos (c+d x)} \sec (c+d x) \, dx\\ &=\frac {5 a \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {5 a \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a \sec ^2(c+d x) \tan (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}-\frac {(5 a) \operatorname {Subst}\left (\int \frac {1}{a-x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{8 d}\\ &=\frac {5 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{8 d}+\frac {5 a \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {5 a \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a \sec ^2(c+d x) \tan (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.33, size = 109, normalized size = 0.79 \[ \frac {\sec \left (\frac {1}{2} (c+d x)\right ) \sec ^3(c+d x) \sqrt {a (\cos (c+d x)+1)} \left (42 \sin \left (\frac {1}{2} (c+d x)\right )+5 \left (\sin \left (\frac {3}{2} (c+d x)\right )+3 \sin \left (\frac {5}{2} (c+d x)\right )\right )+30 \sqrt {2} \cos ^3(c+d x) \tanh ^{-1}\left (\sqrt {2} \sin \left (\frac {1}{2} (c+d x)\right )\right )\right )}{96 d} \]
Antiderivative was successfully verified.
[In]
Integrate[Sqrt[a + a*Cos[c + d*x]]*Sec[c + d*x]^4,x]
[Out]
(Sqrt[a*(1 + Cos[c + d*x])]*Sec[(c + d*x)/2]*Sec[c + d*x]^3*(30*Sqrt[2]*ArcTanh[Sqrt[2]*Sin[(c + d*x)/2]]*Cos[
c + d*x]^3 + 42*Sin[(c + d*x)/2] + 5*(Sin[(3*(c + d*x))/2] + 3*Sin[(5*(c + d*x))/2])))/(96*d)
________________________________________________________________________________________
fricas [A] time = 0.74, size = 165, normalized size = 1.20 \[ \frac {15 \, {\left (\cos \left (d x + c\right )^{4} + \cos \left (d x + c\right )^{3}\right )} \sqrt {a} \log \left (\frac {a \cos \left (d x + c\right )^{3} - 7 \, a \cos \left (d x + c\right )^{2} - 4 \, \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} {\left (\cos \left (d x + c\right ) - 2\right )} \sin \left (d x + c\right ) + 8 \, a}{\cos \left (d x + c\right )^{3} + \cos \left (d x + c\right )^{2}}\right ) + 4 \, \sqrt {a \cos \left (d x + c\right ) + a} {\left (15 \, \cos \left (d x + c\right )^{2} + 10 \, \cos \left (d x + c\right ) + 8\right )} \sin \left (d x + c\right )}{96 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+a*cos(d*x+c))^(1/2)*sec(d*x+c)^4,x, algorithm="fricas")
[Out]
1/96*(15*(cos(d*x + c)^4 + cos(d*x + c)^3)*sqrt(a)*log((a*cos(d*x + c)^3 - 7*a*cos(d*x + c)^2 - 4*sqrt(a*cos(d
*x + c) + a)*sqrt(a)*(cos(d*x + c) - 2)*sin(d*x + c) + 8*a)/(cos(d*x + c)^3 + cos(d*x + c)^2)) + 4*sqrt(a*cos(
d*x + c) + a)*(15*cos(d*x + c)^2 + 10*cos(d*x + c) + 8)*sin(d*x + c))/(d*cos(d*x + c)^4 + d*cos(d*x + c)^3)
________________________________________________________________________________________
giac [A] time = 0.69, size = 154, normalized size = 1.12 \[ -\frac {\sqrt {2} {\left (15 \, \sqrt {2} \log \left (\frac {{\left | -2 \, \sqrt {2} + 4 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}{{\left | 2 \, \sqrt {2} + 4 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}\right ) \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) + \frac {4 \, {\left (60 \, \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} - 80 \, \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 33 \, \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{{\left (2 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}^{3}}\right )} \sqrt {a}}{96 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+a*cos(d*x+c))^(1/2)*sec(d*x+c)^4,x, algorithm="giac")
[Out]
-1/96*sqrt(2)*(15*sqrt(2)*log(abs(-2*sqrt(2) + 4*sin(1/2*d*x + 1/2*c))/abs(2*sqrt(2) + 4*sin(1/2*d*x + 1/2*c))
)*sgn(cos(1/2*d*x + 1/2*c)) + 4*(60*sgn(cos(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/2*c)^5 - 80*sgn(cos(1/2*d*x + 1/
2*c))*sin(1/2*d*x + 1/2*c)^3 + 33*sgn(cos(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/2*c))/(2*sin(1/2*d*x + 1/2*c)^2 -
1)^3)*sqrt(a)/d
________________________________________________________________________________________
maple [B] time = 0.58, size = 709, normalized size = 5.14 \[ \frac {\cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (-120 a \left (\ln \left (\frac {4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+4 a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right )+\ln \left (-\frac {4 \left (\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+2 a \right )}{-2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right )\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+60 \left (2 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+3 \ln \left (\frac {4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+4 a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a +3 \ln \left (-\frac {4 \left (\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+2 a \right )}{-2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a \right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (-90 \ln \left (-\frac {4 \left (\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+2 a \right )}{-2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a -90 \ln \left (\frac {4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+4 a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a -160 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+15 \ln \left (-\frac {4 \left (\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+2 a \right )}{-2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a +15 \ln \left (\frac {4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+4 a \sqrt {2}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a +66 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\right )}{6 \sqrt {a}\, \left (2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\right )^{3} \left (2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}\right )^{3} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((a+a*cos(d*x+c))^(1/2)*sec(d*x+c)^4,x)
[Out]
1/6*cos(1/2*d*x+1/2*c)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*(-120*a*(ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a
*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*a))+ln(-4/(-2*cos(1/2*d*x+1/2*c)+2^(1/2))*
(2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*a)))*sin(1/2*d*x+1/2*c)^6+60*(2
*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+3*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a*sin(1/2*d*x+
1/2*c)^2)^(1/2)*a^(1/2)+a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*a))*a+3*ln(-4/(-2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*
(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*a))*a)*sin(1/2*d*x+1/2*c)^4+(-90*ln(-4/(
-2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*
a))*a-90*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+a*2^(1/2)*cos(1/2
*d*x+1/2*c)+2*a))*a-160*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2))*sin(1/2*d*x+1/2*c)^2+15*ln(-4/(-2*cos(
1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-a*2^(1/2)*cos(1/2*d*x+1/2*c)+2*a))*a+1
5*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+a*2^(1/2)*cos(1/2*d*x+1/
2*c)+2*a))*a+66*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2))/a^(1/2)/(2*cos(1/2*d*x+1/2*c)-2^(1/2))^3/(2*co
s(1/2*d*x+1/2*c)+2^(1/2))^3/sin(1/2*d*x+1/2*c)/(a*cos(1/2*d*x+1/2*c)^2)^(1/2)/d
________________________________________________________________________________________
maxima [B] time = 171.93, size = 5115, normalized size = 37.07 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+a*cos(d*x+c))^(1/2)*sec(d*x+c)^4,x, algorithm="maxima")
[Out]
1/96*(15*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2
*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(
2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1
/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1
/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c)
+ 2) - 8*sin(1/2*d*x + 1/2*c))*cos(6*d*x + 6*c)^2 + 135*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x
+ 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2)
+ sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)
*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1
/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*cos(4*d*x + 4*c)^2 + 135*(sqrt
(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1
/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x
+ 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c
)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c
)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(
1/2*d*x + 1/2*c))*cos(2*d*x + 2*c)^2 + 15*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2
*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2
*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2
*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x +
1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c)
- 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*sin(6*d*x + 6*c)^2 + 135*(sqrt(2)*log(2*cos(1
/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c)
+ 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*s
qrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)
*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2
*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c
))*sin(4*d*x + 4*c)^2 + 135*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1
/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x +
1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x +
1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) -
sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*s
in(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*sin(2*d*x + 2*c)^2 - 120*(sin(6*d*x + 6*c) + 3*sin(4*d*x +
4*c) + 3*sin(2*d*x + 2*c))*cos(13/2*d*x + 13/2*c) + 2*(45*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*
x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*
x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2)
+ sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2
)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(
1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*cos(4*d*x + 4*c) + 45*(sqrt(2
)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2
*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x +
1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^
2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^
2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/
2*d*x + 1/2*c))*cos(2*d*x + 2*c) + 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt
(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*s
in(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*log(
2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x +
1/2*c) + 2) - 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/
2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 60*sin(11/2*d*x + 11/2*c) + 200*sin(9/2*d*x + 9/2*c) + 168*sin(7/
2*d*x + 7/2*c) + 12*sin(5/2*d*x + 5/2*c) - 20*sin(3/2*d*x + 3/2*c) - 120*sin(1/2*d*x + 1/2*c))*cos(6*d*x + 6*c
) - 360*(sin(4*d*x + 4*c) + sin(2*d*x + 2*c))*cos(11/2*d*x + 11/2*c) - 1200*(sin(4*d*x + 4*c) + sin(2*d*x + 2*
c))*cos(9/2*d*x + 9/2*c) + 6*(45*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*
cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*
d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*
d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) +
2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt
(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*cos(2*d*x + 2*c) + 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*
c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sq
rt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin
(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/
2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 168*sin(7/2*d*x + 7/2*c)
+ 12*sin(5/2*d*x + 5/2*c) - 20*sin(3/2*d*x + 3/2*c) - 120*sin(1/2*d*x + 1/2*c))*cos(4*d*x + 4*c) + 30*(3*sqrt(
2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/
2*d*x + 1/2*c) + 2) - 3*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*
x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 3*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/
2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 3*sqrt(2)*log(2*cos(1/2*d*x +
1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 4
*sin(3/2*d*x + 3/2*c) - 24*sin(1/2*d*x + 1/2*c))*cos(2*d*x + 2*c) + 120*(cos(6*d*x + 6*c) + 3*cos(4*d*x + 4*c)
+ 3*cos(2*d*x + 2*c) + 1)*sin(13/2*d*x + 13/2*c) + 2*(45*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*
x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*
x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2)
+ sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2
)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(
1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/2*d*x + 1/2*c))*sin(4*d*x + 4*c) + 45*(sqrt(2
)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2
*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x +
1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^
2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^
2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 8*sin(1/
2*d*x + 1/2*c))*sin(2*d*x + 2*c) - 60*cos(11/2*d*x + 11/2*c) - 200*cos(9/2*d*x + 9/2*c) - 168*cos(7/2*d*x + 7/
2*c) - 12*cos(5/2*d*x + 5/2*c) + 20*cos(3/2*d*x + 3/2*c))*sin(6*d*x + 6*c) + 120*(3*cos(4*d*x + 4*c) + 3*cos(2
*d*x + 2*c) + 1)*sin(11/2*d*x + 11/2*c) + 400*(3*cos(4*d*x + 4*c) + 3*cos(2*d*x + 2*c) + 1)*sin(9/2*d*x + 9/2*
c) + 6*(45*(sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) +
2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqr
t(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin
(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - sqrt(2)*log(2*cos
(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*
c) + 2) - 8*sin(1/2*d*x + 1/2*c))*sin(2*d*x + 2*c) - 168*cos(7/2*d*x + 7/2*c) - 12*cos(5/2*d*x + 5/2*c) + 20*c
os(3/2*d*x + 3/2*c))*sin(4*d*x + 4*c) + 336*(3*cos(2*d*x + 2*c) + 1)*sin(7/2*d*x + 7/2*c) + 24*(3*cos(2*d*x +
2*c) + 1)*sin(5/2*d*x + 5/2*c) - 1008*cos(7/2*d*x + 7/2*c)*sin(2*d*x + 2*c) - 72*cos(5/2*d*x + 5/2*c)*sin(2*d*
x + 2*c) + 120*cos(3/2*d*x + 3/2*c)*sin(2*d*x + 2*c) + 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*log(2*cos(1/2*
d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) +
2) + 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*s
qrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt
(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 40*sin(3/2*d*x + 3/2*c) - 120*sin(1/2*d*x + 1
/2*c))*sqrt(a)/((sqrt(2)*cos(6*d*x + 6*c)^2 + 9*sqrt(2)*cos(4*d*x + 4*c)^2 + 9*sqrt(2)*cos(2*d*x + 2*c)^2 + sq
rt(2)*sin(6*d*x + 6*c)^2 + 9*sqrt(2)*sin(4*d*x + 4*c)^2 + 18*sqrt(2)*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 9*sqr
t(2)*sin(2*d*x + 2*c)^2 + 2*(3*sqrt(2)*cos(4*d*x + 4*c) + 3*sqrt(2)*cos(2*d*x + 2*c) + sqrt(2))*cos(6*d*x + 6*
c) + 6*(3*sqrt(2)*cos(2*d*x + 2*c) + sqrt(2))*cos(4*d*x + 4*c) + 6*(sqrt(2)*sin(4*d*x + 4*c) + sqrt(2)*sin(2*d
*x + 2*c))*sin(6*d*x + 6*c) + 6*sqrt(2)*cos(2*d*x + 2*c) + sqrt(2))*d)
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {a+a\,\cos \left (c+d\,x\right )}}{{\cos \left (c+d\,x\right )}^4} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((a + a*cos(c + d*x))^(1/2)/cos(c + d*x)^4,x)
[Out]
int((a + a*cos(c + d*x))^(1/2)/cos(c + d*x)^4, x)
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {a \left (\cos {\left (c + d x \right )} + 1\right )} \sec ^{4}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((a+a*cos(d*x+c))**(1/2)*sec(d*x+c)**4,x)
[Out]
Integral(sqrt(a*(cos(c + d*x) + 1))*sec(c + d*x)**4, x)
________________________________________________________________________________________